projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22cc077
)
(command-line-normalize-file-name): Convert /// at beginning to just /.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 28 Feb 1996 23:30:24 +0000
(23:30 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 28 Feb 1996 23:30:24 +0000
(23:30 +0000)
lisp/startup.el
patch
|
blob
|
history
diff --git
a/lisp/startup.el
b/lisp/startup.el
index 0365b78549598d8478528536dc6698aa388f6d86..16214b176568fa3d85222b57a69af8da95a3c419 100644
(file)
--- a/
lisp/startup.el
+++ b/
lisp/startup.el
@@
-913,6
+913,9
@@
Type \\[describe-distribution] for information on getting the latest version."))
"Collapse multiple slashes to one, to handle non-Emacs file names."
;; Use arg 1 so that we don't collapse // at the start of the file name.
;; That is significant on some systems.
+ ;; However, /// at the beginning is supposed to mean just /, not //.
+ (if (string-match "^///+" file)
+ (setq file (replace-match "/" t t file)))
(while (string-match "//+" file 1)
(setq file (replace-match "/" t t file)))
file)